1 link tagged with all of: db branch + database branching + zfs + copy on write + mysql
Click any tag below to further narrow down your results
Links
db-branch is a self-hosted, Apache-2.0 tool that creates copy-on-write branches of MySQL and PostgreSQL databases in seconds using ZFS clones. It's aimed at giving AI agents, CI runs, and pull requests their own disposable database copy without touching production.
- Branches are ZFS clones, so creation copies nothing; on their 3-node test cluster, a PostgreSQL branch was ready in about 0.5 s and a MySQL branch in about 3 s.
- Branches can be reset, checkpointed and restored, and given a TTL so they delete themselves automatically.
- Upgrades can be tested per branch (e.g. MySQL 8.0 to 8.4) with a checkpoint saved first and automatic rollback on failure, leaving the base untouched.